<%@tag pageEncoding="UTF-8"%>
<%@ attribute name="msg" type="java.lang.String" required="true"%>
<%@ attribute name="error" type="java.lang.Boolean" required="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="col-xs-12">
	<p>
		<c:if test="${not empty msg && !error }">
			<div class="alert alert-block alert-success">
				<button type="button" class="close" data-dismiss="alert">
					<i class="ace-icon fa fa-times"></i>
				</button>
				<i class="ace-icon fa fa-check"></i> 提示：<strong> ${msg } </strong>
			</div>
		</c:if>
		<c:if test="${not empty msg && error }">
			<div class="alert alert-danger">
				<button type="button" class="close" data-dismiss="alert">
					<i class="ace-icon fa fa-times"></i>
				</button>
				<i class="ace-icon fa fa-times"></i> 警告： <strong> ${msg }</strong>
			</div>
		</c:if>
	</p>
</div>
